<%= form_tag do %>
     <fieldset>
       <legend>Log In</legend>
       <div>
         <label for="name">Name:</label>
         <%= text_field_tag :name, params[:name] %>
       </div>
       <div>
         <label for="password">Password:</label>
         <%= password_field_tag :password, params[:password] %>
       </div>

       <div>
         <%= submit_tag "Login" %>
         <%= link_to "Register",new_user_url%>
       </div>
     </fieldset>
<% end %>
